<?php
namespace Asiah\SiklusBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
use Asiah\SiklusBundle\Controller;

class HomeControllerTest extends WebTestCase {
	public function testCreateNewBookmark() {
		$client = static::createClient();

		$crawler = $client -> request('GET', '/createNewBookmark/http://detiksport.com/sepakbola');

		$this -> assertTrue($crawler -> filter('html:contains("Hello Fabien")') -> count() > 0);
	}

}